package dm.ui;

import javax.swing.JProgressBar;

public class MyTableRow
{
	private String urlAddress;
	private Long totalSize;
	private Long numOfFile;
	private JProgressBar pbar;
	
	
	public MyTableRow()
	{
		
	}
	
	public MyTableRow(String s, long size, long files, JProgressBar pb)
	{
		urlAddress = s;
		totalSize = size;
		numOfFile = files;
		pbar = pb;
	}

	/**
	 * @param title the title to set
	 */
	public void setUrlAddress(String title) {
		this.urlAddress = title;
	}

	/**
	 * @return the title
	 */
	public String getUrlAddress() {
		return urlAddress;
	}

	/**
	 * @param pbar the pbar to set
	 */
	public void setPbar(JProgressBar pbar) {
		this.pbar = pbar;
	}

	/**
	 * @return the pbar
	 */
	public JProgressBar getPbar() {
		return pbar;
	}

	/**
	 * @param totalSize the totalSize to set
	 */
	public void setTotalSize(long totalSize) {
		this.totalSize = totalSize;
	}

	/**
	 * @return the totalSize
	 */
	public Long getTotalSize() {
		return totalSize;
	}

	/**
	 * @param numOfFile the numOfFile to set
	 */
	public void setNumOfFile(long numOfFile) {
		this.numOfFile = numOfFile;
	}

	/**
	 * @return the numOfFile
	 */
	public Long getNumOfFile() {
		return numOfFile;
	}
}